<template>
	<header>
		<ul>
			<li @click="back"><i class="header_iocn" v-if=" icon == true"><img src="../assets/icon_up01@3x.png" alt=""></i><span>{{retur}}</span></li>
			<li class="head_er_center">{{message}}</li>
			<li><span class="head_er_right" v-if=" right == true"><i class=""></i>{{share}}</span></li>
		</ul>
	</header>
</template>

<script>

export default {
  name: 'head_er',
  data () {
    return {
   
    }
  },
  props: ['message','icon','right','share','retur'],
  methods:{
  	back(){
			history.back()
		},
  }
}
</script>